const routes = [

  {
    path: '/',
    component: ()=> import("@/components/home/index"),
    redirect: '/dashboard',
    children: [
      {
        path: 'dashboard',
        component: ()=> import("@/views/pages/dashboard/index")
      }
    ]
  },

  {
    path: '/login',
    name: 'login',
    component: () => import("@/components/login/index")
  },

  {
    path: '/base',
    component: () => import("@/components/home/index"),
    redirect: '/base/baseInfo',
    children: [
      {
        path: 'baseInfo',
        name: 'baseInfo',
        component: () => import("@/views/pages/baseInfo/index")
      }
    ]
  },


  {
    path: '/personal',
    name: 'personal',
    redirect: '/personal/personalCenter',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'personalCenter',
        name: 'personalCenter',
        component: () => import("@/views/pages/personalCenter/index")
      }
    ]
  },
  {
    path: '/',
    name: 'vueawesomeswiper',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'vueawesomeswiper',
        name: 'vueawesomeswiper',
        component: () => import("@/views/pages/vueawesomeswiper/index")
      }
    ]
  },
  {
    path: '/',
    name: 'luckysheet',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'luckysheet',
        name: 'luckysheet',
        component: () => import("@/views/pages/luckysheet/index")
      }
    ]
  },
  {
    path: '/',
    name: 'echarts',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'echarts',
        name: 'echarts',
        component: () => import("@/views/pages/echarts/index")
      }
    ]
  },
  {
    path: '/',
    name: 'event',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'event',
        name: 'event',
        component: () => import("@/views/pages/eventTest/index")
      }
    ]
  },
  {
    path: '/',
    name: 'dyszhdh',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'dyszhdh',
        name: 'dyszhdh',
        component: () => import("@/views/pages/dyszhdh/index")
      }
    ]
  },
  {
    path: '/',
    name: 'BoundaryCollisionDetection',
    component: () => import("@/components/home/index"),
    children: [
      {
        path: 'BoundaryCollisionDetection',
        name: 'BoundaryCollisionDetection',
        component: () => import("@/views/pages/BoundaryCollisionDetection/index")
      }
    ]
  },

]
export default routes